home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / servprov.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  6.0 KB  |  215 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.02.88 */
  5. /* at Thu Sep 25 09:48:03 1997
  6.  */
  7. /* Compiler settings for servprov.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __servprov_h__
  20. #define __servprov_h__
  21. #pragma option push -b
  22.  
  23. #ifdef __cplusplus
  24. extern "C"{
  25. #endif 
  26.  
  27. /* Forward Declarations */ 
  28.  
  29. #ifndef __IServiceProvider_FWD_DEFINED__
  30. #define __IServiceProvider_FWD_DEFINED__
  31. typedef interface IServiceProvider IServiceProvider;
  32. #endif     /* __IServiceProvider_FWD_DEFINED__ */
  33.  
  34.  
  35. /* header files for imported files */
  36. #include "objidl.h"
  37.  
  38. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  39. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  40.  
  41. /****************************************
  42.  * Generated header for interface: __MIDL_itf_servprov_0000
  43.  * at Thu Sep 25 09:48:03 1997
  44.  * using MIDL 3.02.88
  45.  ****************************************/
  46. /* [local] */ 
  47.  
  48.  
  49. //=--------------------------------------------------------------------------=
  50. // ServProv.h
  51. //=--------------------------------------------------------------------------=
  52. // (C) Copyright 1995-1997 Microsoft Corporation.  All Rights Reserved.
  53. //
  54. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  55. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  56. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  57. // PARTICULAR PURPOSE.
  58. //=--------------------------------------------------------------------------=
  59.  
  60. #pragma comment(lib,"uuid.lib")
  61.  
  62. //---------------------------------------------------------------------------=
  63. // IServiceProvider Interfaces.
  64.  
  65.  
  66. #ifndef _LPSERVICEPROVIDER_DEFINED
  67. #define _LPSERVICEPROVIDER_DEFINED
  68.  
  69.  
  70. extern RPC_IF_HANDLE __MIDL_itf_servprov_0000_v0_0_c_ifspec;
  71. extern RPC_IF_HANDLE __MIDL_itf_servprov_0000_v0_0_s_ifspec;
  72.  
  73. #ifndef __IServiceProvider_INTERFACE_DEFINED__
  74. #define __IServiceProvider_INTERFACE_DEFINED__
  75.  
  76. /****************************************
  77.  * Generated header for interface: IServiceProvider
  78.  * at Thu Sep 25 09:48:03 1997
  79.  * using MIDL 3.02.88
  80.  ****************************************/
  81. /* [unique][uuid][object] */ 
  82.  
  83.  
  84. typedef /* [unique] */ IServiceProvider __RPC_FAR *LPSERVICEPROVIDER;
  85.  
  86.  
  87. EXTERN_C const IID IID_IServiceProvider;
  88.  
  89. #if defined(__cplusplus) && !defined(CINTERFACE)
  90.     
  91.     interface DECLSPEC_UUID("6d5140c1-7436-11ce-8034-00aa006009fa")
  92.     IServiceProvider : public IUnknown
  93.     {
  94.     public:
  95.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE QueryService( 
  96.             /* [in] */ REFGUID guidService,
  97.             /* [in] */ REFIID riid,
  98.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  99.         
  100.     };
  101.     
  102. #else     /* C style interface */
  103.  
  104.     typedef struct IServiceProviderVtbl
  105.     {
  106.         BEGIN_INTERFACE
  107.         
  108.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  109.             IServiceProvider __RPC_FAR * This,
  110.             /* [in] */ REFIID riid,
  111.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  112.         
  113.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  114.             IServiceProvider __RPC_FAR * This);
  115.         
  116.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  117.             IServiceProvider __RPC_FAR * This);
  118.         
  119.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryService )( 
  120.             IServiceProvider __RPC_FAR * This,
  121.             /* [in] */ REFGUID guidService,
  122.             /* [in] */ REFIID riid,
  123.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  124.         
  125.         END_INTERFACE
  126.     } IServiceProviderVtbl;
  127.  
  128.     interface IServiceProvider
  129.     {
  130.         CONST_VTBL struct IServiceProviderVtbl __RPC_FAR *lpVtbl;
  131.     };
  132.  
  133.     
  134.  
  135. #ifdef COBJMACROS
  136.  
  137.  
  138. #define IServiceProvider_QueryInterface(This,riid,ppvObject)    \
  139.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  140.  
  141. #define IServiceProvider_AddRef(This)    \
  142.     (This)->lpVtbl -> AddRef(This)
  143.  
  144. #define IServiceProvider_Release(This)    \
  145.     (This)->lpVtbl -> Release(This)
  146.  
  147.  
  148. #define IServiceProvider_QueryService(This,guidService,riid,ppvObject)    \
  149.     (This)->lpVtbl -> QueryService(This,guidService,riid,ppvObject)
  150.  
  151. #endif /* COBJMACROS */
  152.  
  153.  
  154. #endif     /* C style interface */
  155.  
  156.  
  157.  
  158. /* [call_as] */ HRESULT STDMETHODCALLTYPE IServiceProvider_RemoteQueryService_Proxy( 
  159.     IServiceProvider __RPC_FAR * This,
  160.     /* [in] */ REFGUID guidService,
  161.     /* [in] */ REFIID riid,
  162.     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  163.  
  164.  
  165. void __RPC_STUB IServiceProvider_RemoteQueryService_Stub(
  166.     IRpcStubBuffer *This,
  167.     IRpcChannelBuffer *_pRpcChannelBuffer,
  168.     PRPC_MESSAGE _pRpcMessage,
  169.     DWORD *_pdwStubPhase);
  170.  
  171.  
  172.  
  173. #endif     /* __IServiceProvider_INTERFACE_DEFINED__ */
  174.  
  175.  
  176. /****************************************
  177.  * Generated header for interface: __MIDL_itf_servprov_0055
  178.  * at Thu Sep 25 09:48:03 1997
  179.  * using MIDL 3.02.88
  180.  ****************************************/
  181. /* [local] */ 
  182.  
  183.  
  184. #endif
  185.  
  186.  
  187. extern RPC_IF_HANDLE __MIDL_itf_servprov_0055_v0_0_c_ifspec;
  188. extern RPC_IF_HANDLE __MIDL_itf_servprov_0055_v0_0_s_ifspec;
  189.  
  190. /* Additional Prototypes for ALL interfaces */
  191.  
  192. /* [local] */ HRESULT STDMETHODCALLTYPE IServiceProvider_QueryService_Proxy( 
  193.     IServiceProvider __RPC_FAR * This,
  194.     /* [in] */ REFGUID guidService,
  195.     /* [in] */ REFIID riid,
  196.     /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  197.  
  198.  
  199. /* [call_as] */ HRESULT STDMETHODCALLTYPE IServiceProvider_QueryService_Stub( 
  200.     IServiceProvider __RPC_FAR * This,
  201.     /* [in] */ REFGUID guidService,
  202.     /* [in] */ REFIID riid,
  203.     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  204.  
  205.  
  206.  
  207. /* end of Additional Prototypes */
  208.  
  209. #ifdef __cplusplus
  210. }
  211. #endif
  212.  
  213. #pragma option pop
  214. #endif
  215.